<!--走访数据-->
<div>
  <div class="am-g mh-title am-padding-horizontal-sm">
    <div class="am-u-sm-2 mh-padding-none">
      <a href="javascript:history.go(-1)" class="mh-text-white">
        <span class="am-icon-angle-left am-icon-sm"></span> 返回
      </a>
    </div>
    <div class="am-u-sm-8 am-text-center">走访数据</div>
    <div id="title-dropdown" class="am-u-sm-2 mh-padding-none am-text-right am-dropdown">
      <span class="am-dropdown-toggle am-icon-sm am-icon-edit" ng-click="visitAdd()"></span>
    </div>
  </div>
  <div style="z-index: -1;height: 45px;background-color: transparent;color: transparent"></div>
</div>
<div class="am-padding-sm">
  <form class="am-form am-form-horizontal am-text-sm">
    <horizontal-item-static config-data="{name:'楼盘名称：',type:'text'}"
                            ng-model="building.estateName"></horizontal-item-static>
    <horizontal-item config-data="{name:'走访日期：',type:'date'}" ng-model="building.visitDate"></horizontal-item>
    <horizontal-item config-data="{name:'基本信息完成时间：',type:'date'}" ng-model="building.baseInfotime"></horizontal-item>
    <horizontal-item config-data="{name:'物业合作签约时间：',type:'date'}" ng-model="building.jointtime"></horizontal-item>
    <horizontal-item config-data="{name:'户型数：',type:'text'}" ng-model="building.layout"></horizontal-item>
    <horizontal-item config-data="{name:'推广设计数：',type:'text'}" ng-model="building.design"></horizontal-item>
    <horizontal-item config-data="{name:'推广完成时间：',type:'date'}" ng-model="building.extension"></horizontal-item>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label mh-padding-none" for="img1">推广方案：</label>

      <div class="am-u-sm-9 mh-padding-none">
        <input type="file" accept="image/*;capture=camera" id="img1" class="am-input-sm am-radius am-form-field"
               ngf-select="fangAn($files)">
      </div>
    </div>
    <horizontal-item config-data="{name:'推广方案完成时间：',type:'date'}" ng-model="building.planfinishtime"></horizontal-item>
    <horizontal-item config-data="{name:'庭院装修限制：',type:'text'}" ng-model="building.gardenlimit"></horizontal-item>
    <div class="am-form-group">
      <label class="am-u-sm-3 am-form-label mh-padding-none" for="img2">总平面图：</label>

      <div class="am-u-sm-9 mh-padding-none">
        <input type="file" accept="image/*;capture=camera" id="img2" class="am-input-sm am-radius am-form-field"
               ngf-select="pingMian($files)">
      </div>
    </div>
    <horizontal-item config-data="{name:'本楼盘业主主要购买原因：',type:'text'}" ng-model="building.reason"></horizontal-item>

    <mh-select title="营销负责人：" ng-model="marketers" selected="selected"></mh-select>
    <horizontal-item config-data="{name:'推广效果：',type:'text'}" ng-model="building.effect"></horizontal-item>
    <horizontal-item config-data="{name:'别墅已入住数量：',type:'text'}" ng-model="building.households1"></horizontal-item>
    <horizontal-item config-data="{name:'排屋已入住数量：',type:'text'}" ng-model="building.households2"></horizontal-item>
    <horizontal-item config-data="{name:'庭院面积：',type:'text'}" ng-model="building.courtyardArea"></horizontal-item>
    <horizontal-item config-data="{name:'已入住庭园现状描述-养护：',type:'text'}"
                     ng-model="building.description1"></horizontal-item>
    <horizontal-item config-data="{name:'已入住庭园现状描述-施工：',type:'text'}"
                     ng-model="building.description2"></horizontal-item>
    <horizontal-item config-data="{name:'现养护单位模式收费标准问题设想：',type:'text'}" ng-model="building.other"></horizontal-item>
    <horizontal-item config-data="{name:'信息获得主要途径：',type:'text'}" ng-model="building.accessInfo"></horizontal-item>
    <horizontal-item config-data="{name:'服务切入难度分析：',type:'text'}" ng-model="building.analysis"></horizontal-item>
    <button type="submit" class="am-btn am-btn-default am-radius am-form-field mh-lightgreen mh-text-white"
            ng-click="visitData(building)">保存
    </button>
  </form>
</div>
